﻿namespace 第二课堂评审系统.Models
{
    public class User
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public int StuNum { get; set; }
        public string passWord { get; set; }
        public string? telPhone { get; set; }
        public string? college { get; set; }//学院
        public string? track { get; set; }//评委的赛道
        public string? avatar { get; set; }//用户的头像路径
        public string? address { get; set; }
        public string? contactAddress { get; set; }//联系地址
        public string? email { get; set; }
        public List<Achievement>? achievements { get; set; }//导师打的所有成绩
        public List<Role>? Roles { get; set; } //一个用户多个角色
        public Partnar ? partnar { get; set; }//一个用户一个小组
        public List<Partnar> ? allPartnar { get; set; }//一个导师的所有小组 
        public List<Notice> ? notices { get; set; }
        public Preliminary? JudgePre { get; set; }//评委的初赛对应
        public Final? JudgeFin { get; set; }//评委的决赛对应
        public bool isDeleted { get; set; }= false;//是否被删除
    }
}
